package cn.tedu.tea.mapper;

import cn.tedu.tea.domain.TStockRecordOut;
import cn.tedu.tea.domain.vo.TStockRecordOutListVO;
import cn.tedu.tea.domain.vo.TStockRecordOutStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TStockRecordOutMapper {
    int insert(TStockRecordOut tStockRecordOut);
    int deleteById(Long id);
    int deleteByIds(Long[] ids);
    int update(TStockRecordOut tStockRecordOut);

    int countByOrderNo(String orderNo);
    int countByOrderNoAndNotId(String orderNo, Long id);

    TStockRecordOutStandardVO getStandardById(Long id);
    List<TStockRecordOutListVO> list();

}
